package org.ivwsqii.adapter.objectModel.test;


import org.ivwsqii.adapter.objectModel.PowerAdapter;
import org.ivwsqii.adapter.objectModel.UsbInterface;
import org.ivwsqii.adapter.objectModel.UsbInterfaceImpl;

public class Client {
    public static void main(String[] args) {
        UsbInterface usbInterface = new UsbInterfaceImpl();
        PowerAdapter adapter = new PowerAdapter(usbInterface);
        adapter.powerToPhone();
        usbInterface.powerUsbToPhone();
    }
}
